package com.ztgf.shopping.models.service.epg;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.ztgf.shopping.models.bo.epg.EpgShopSectionBO;
import com.ztgf.shopping.models.bo.epg.EpgShopSectionSaveBO;
import com.ztgf.shopping.models.dto.epg.EpgShopSectionDTO;
import com.ztgf.shopping.models.vo.epg.EpgShopSectionVO;

import java.util.List;

/**
 * 店铺频道栏目服务
 *
 * @author YUE
 * @Date 2020-05-28 18:39:56
 */
public interface IEpgShopSectionService extends IService<EpgShopSectionDTO> {
    boolean add(EpgShopSectionSaveBO saveBO);

    Page<EpgShopSectionDTO> getBySelectShopSectionInfoPage(EpgShopSectionBO epgShopSectionBO);

    List<EpgShopSectionDTO> getBySelectShopSectionInfoNoPage(EpgShopSectionBO epgShopSectionBO);

    EpgShopSectionVO getSectionBySectionType(Long shopId,String sectionType);

    void addShopSectionBySectionType(List<Long> ids,Long shopId,String sectionType);

    void deleteShopSectionBySectionType(List<Long> ids,Long shopId,String sectionType);
}
